package com.zhengxiang.onlinexamination.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zhengxiang.onlinexamination.entity.PreviewPaper;
import com.zhengxiang.onlinexamination.entity.Qu;
import lombok.Data;

import java.util.List;

@Data
public class  PreviewPaperVo extends PreviewPaper {
    /**
     * 勾选的多选答案
     */
    @TableField(exist = false)
    private List<String> checkAnswer;
    /**
     * 勾选的单选答案
     */
    @TableField(exist = false)
    private String radioAnswer;
    /**
     * 勾选的简单题答案
     */
    @TableField(exist = false)
    private String shortAnswer;
    /**
     * 单选题集合
     */
    @TableField(exist = false)
    private List<PreviewPaper> radioList;
    /**
     * 多选题集合
     */
    @TableField(exist = false)
    private List<PreviewPaper> multiList;
    /**
     * 判断题集合
     */
    @TableField(exist = false)
    private List<PreviewPaper> judgeList;
    /**
     * 简答题
     */
    @TableField(exist = false)
    private List<PreviewPaper> shortAnswerList;
    /**
     * 题目序号
     */
    @TableField(exist = false)
    private List<Integer> quSortList;

    /*总题数*/
    @TableField(exist = false)
    private Integer totalQu;

    /**
     * 已答列表
     * */
    @TableField(exist = false)
    private List<Integer> answeredList;
    /**
     * 未答列表
     * */
    @TableField(exist = false)
    private List<Integer> unAnsweredList;

    /*所有待考试题*/
    @TableField
    private List<Qu> needCheckingList;
}
